import React from 'react';
import { Consumer } from '@/context'
class Profile extends React.Component {
    constructor(props) {
        super(props);
        this.state = {};
    }

    render() {
        return (<>
            <Consumer>
                {
                    context  => (<h2>哈哈 我是profile { context.color  }  { context.hh  } </h2>)
                }

            </Consumer>
        </>)
    }
}

export default Profile
